package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 lm_user
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userNickname;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userPic;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 用户手机号 */
    @Excel(name = "用户类型")
    private String userType;

    /** 用户邀请码 */
    @Excel(name = "用户邀请码")
    private String userInventioncode;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private String userBalance;

    /** 是否认证服务商（0未认证1个人服务商2商户服务商） */
    @Excel(name = "是否认证服务商", readConverterExp = "0=未认证1个人服务商2商户服务商")
    private String isServiceuser;

    /** 身份证正面 */
    @Excel(name = "身份证正面")
    private String userImg;

    /** 身份证反面 */
    @Excel(name = "身份证反面")
    private String userImgback;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String userLicense;

    /** 审核状态（0个人审核中1个人未通过2个人已通过3企业审核中4企业未通过5企业已通过） */
   // @Excel(name = "审核状态", readConverterExp = "0=审核中1未通过2已通过")
    private String reviewStatus;

    /** 审核状态（0个人审核中1个人未通过2个人已通过3企业审核中4企业未通过5企业已通过） */
     @Excel(name = "审核状态", readConverterExp = "0=审核中1未通过2已通过")
    private String reviewStatusName;

    /** 剩余次数 */
    @Excel(name = "剩余次数")
    private Integer packageTimes;

    private String dateStr;

    /** 用户的openId */
    private String openId;

    /** 用户的邀请人id */
    private String userPId;

    private String parentName;

    private String disReason;
    //是否封号
    private String isValidate;

    //是否个人认证 0未认证 1审核中 2已通过 3未通过
    private String isGeren;

    //是否个人认证 0未认证 1审核中 2已通过 3未通过
    private String gerenSt;

    //是否企业认证 0未认证 1审核中 2已通过 3未通过
    private String isQiye;

    //是否企业认证 0未认证 1审核中 2已通过 3未通过
    private String qiyeSt;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserNickname(String userNickname) 
    {
        this.userNickname = userNickname;
    }

    public String getUserNickname() 
    {
        return userNickname;
    }
    public void setUserPic(String userPic) 
    {
        this.userPic = userPic;
    }

    public String getUserPic() 
    {
        return userPic;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserInventioncode(String userInventioncode) 
    {
        this.userInventioncode = userInventioncode;
    }

    public String getUserInventioncode() 
    {
        return userInventioncode;
    }
    public void setUserBalance(String userBalance) 
    {
        this.userBalance = userBalance;
    }

    public String getUserBalance() 
    {
        return userBalance;
    }
    public void setIsServiceuser(String isServiceuser) 
    {
        this.isServiceuser = isServiceuser;
    }

    public String getIsServiceuser() 
    {
        return isServiceuser;
    }
    public void setUserImg(String userImg) 
    {
        this.userImg = userImg;
    }

    public String getUserImg() 
    {
        return userImg;
    }
    public void setUserImgback(String userImgback) 
    {
        this.userImgback = userImgback;
    }

    public String getUserImgback() 
    {
        return userImgback;
    }
    public void setUserLicense(String userLicense) 
    {
        this.userLicense = userLicense;
    }

    public String getUserLicense() 
    {
        return userLicense;
    }
    public void setReviewStatus(String reviewStatus) 
    {
        this.reviewStatus = reviewStatus;
    }

    public String getReviewStatus() 
    {
        return reviewStatus;
    }
    public void setPackageTimes(Integer packageTimes) 
    {
        this.packageTimes = packageTimes;
    }

    public Integer getPackageTimes() 
    {
        return packageTimes;
    }


    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUserPId() {
        return userPId;
    }

    public void setUserPId(String userPId) {
        this.userPId = userPId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userNickname", getUserNickname())
            .append("userPic", getUserPic())
            .append("userPhone", getUserPhone())
            .append("userInventioncode", getUserInventioncode())
            .append("userBalance", getUserBalance())
            .append("isServiceuser", getIsServiceuser())
            .append("userImg", getUserImg())
            .append("userImgback", getUserImgback())
            .append("userLicense", getUserLicense())
            .append("reviewStatus", getReviewStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("packageTimes", getPackageTimes())
            .append("disReason", getDisReason())
            .toString();
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getReviewStatusName() {
        return reviewStatusName;
    }

    public void setReviewStatusName(String reviewStatusName) {
        this.reviewStatusName = reviewStatusName;
    }

    public String getDisReason() {
        return disReason;
    }

    public void setDisReason(String disReason) {
        this.disReason = disReason;
    }

    public String getIsValidate() {
        return isValidate;
    }

    public void setIsValidate(String isValidate) {
        this.isValidate = isValidate;
    }

    public String getIsGeren() {
        return isGeren;
    }

    public void setIsGeren(String isGeren) {
        this.isGeren = isGeren;
    }

    public String getIsQiye() {
        return isQiye;
    }

    public void setIsQiye(String isQiye) {
        this.isQiye = isQiye;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getGerenSt() {
        return gerenSt;
    }

    public void setGerenSt(String gerenSt) {
        this.gerenSt = gerenSt;
    }

    public String getQiyeSt() {
        return qiyeSt;
    }

    public void setQiyeSt(String qiyeSt) {
        this.qiyeSt = qiyeSt;
    }
}
